gsMISCAboutLoad "About WSMTPC", "WSMTPC v1.1", "This client is merely an example of a state-based application. This program merely sends a single line 'message' to a user on an SMTP host, and shows the SMTP conversation."
End Sub
Sub NetClient_OnClose ()
On Error Resume Next
SMTPState = STATE_INACTIVE
SMTPCancel
StatusBar.Caption = "Ok."
End Sub
Sub NetClient_OnConnect ()
On Error Resume Next
StatusBar.Caption = "Connected to " & NetClient.HostName & " - Click this message to Abort."